<div class="bh-content">
	<div class="bh-ly-jj-lvviews_con bh-padT10">
    	<?php $this->renderPartial('app.views.partials.search.category_search')?>
        <div class="bh-ly-jj-lyview_conR bh-Border_1 bh-fr">
        	<h3 class="bh-ly-jj-con_rgbt bh-mBt10 bh-ly-jj-borderB"><?php echo $model->fullTitle?></h3>
            <div class="bh-ly-jj-lvxianlu1 bh-ly-jj-borderB">
            	<div class="bh-fl"><a href="javascript:void(0)"><?php echo $model->img(312,277)?></a></div>
                <div class="bh-ly-jj-xianlu-buy bh-fl bh-mlt80">
                	<table class="bh-ly-jj-xianlu_buytab">
                    	<tr>
                        	<td class="bh-textRt">线路编号：</td>
                            <td class="bh-textLt"><?php echo $model->id?></td>
                        </tr>
                        <tr>
                        	<td class="bh-textRt">价格：</td>
                            <td class="bh-textLt bh-ly-jj-fontB bh-strong bh-bodyred">￥<?php echo CHtml::value($model, 'priceInfo.price_refer')?>元</td>
                        </tr>
                        <tr>
                        	<td class="bh-textRt">出发城市：</td>
                            <td class="bh-textLt"><?php echo Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.travel_province')).' '.Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.travel_city'))?></td>
                        </tr>
                        <tr>
                        	<td class="bh-textRt">出行天数：</td>
                            <td class="bh-textLt"><?php echo CHtml::value($model, 'profile.day_number')?>天</td>
                        </tr>
                        <tr>
                        	<td class="bh-textRt">出行人数：</td>
                            <td class="bh-textLt"><?php echo CHtml::value($model, 'profile.total_num')?>人</td>
                        </tr>
                        <tr>
                        	<td class="bh-textRt">发团日期：</td>
                            <td class="bh-textLt"><?php echo CHtml::value($model, 'profile.departure_time')?></td>
                        </tr>
                        <tr>
                        	<td class="bh-textRt">截止日期：</td>
                            <td class="bh-textLt"><?php echo date('Y-m-d',strtotime(CHtml::value($model, 'profile.end_time')))?></td>
                        </tr>
                        <tr>
                        	<td class="bh-textRt">供应商：</td>
                            <td class="bh-textLt"><a href='<?php echo $model->pShop;?>' target='_bank'><?php echo CHtml::value($model, 'provider.profile.nickname')?></a></td>
                        </tr>
                    </table>
                    <div><input type="button" class="bh-ly-jj-lijibuysub bh-mlt40 bh-mtop15 bh-href" value="立即购买" href='<?php echo $this->createUrl('order/write',array('id'=>$model->id))?>' /></div>
                </div>
                <div class="bh-space"></div>
                <div class="bh-space"></div>
            </div>
            <div class="bh-mTop20">
              <div class="bh-ly-jj-luxiancon1">
               	<table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="395">
                  	<div class="bh-Border_1">
                    <table width="90%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="95" height="35" class="bh-textRt">商品名称：</td>
                        <td width="230"><?php echo $model->fullTitle?></td>
                        <td width="95" class="bh-textRt">详细集合地址：</td>
                        <td width="273"><?php echo CHtml::value($model, 'profile.departure_address')?></td>
                      </tr>
                      <tr>
                        <td height="35" class="bh-textRt">成团人数：</td>
                        <td><?php echo CHtml::value($model, 'profile.num')?></td>
                        <td height="35" class="bh-textRt">出行天数：</td>
                        <td><?php echo CHtml::value($model, 'profile.day_number')?>天</td>
                      </tr>
                      <tr>
                        <td height="35" class="bh-textRt">联系电话：</td>
                        <td><?php echo CHtml::value($model, 'profile.emergency_tel')?></td>
                        <td height="35" class="bh-textRt">截止日期：</td>
                        <td><?php echo date('Y-m-d',strtotime(CHtml::value($model, 'profile.end_time')))?></td>
                      </tr>
                      <tr>
                        <td height="35" class="bh-textRt">服务标准：</td>
                        <td colspan="3">
                        <div class="bh-ly-jj-wenbenyu1 bh-Border_1">
                       	 <?php echo CHtml::value($model, 'profile.service')?>
                    	</div>
                    	</td>
                      </tr>
                      <tr height="10">
                      	<td></td>
                      </tr>
                      <tr>
                        <td height="35" class="bh-textRt">行程描述：</td>
                        <td colspan="3">
                        <div class="bh-ly-jj-wenbenyu1 bh-Border_1">
                       	 <?php echo CHtml::value($model, 'profile.desc')?>
                    	</div>
                    	</td>
                      </tr>
                      <tr height="10">
                      	<td></td>
                      </tr>
                      <tr>
                        <td height="35" class="bh-textRt">发团描述：</td>
                        <td colspan="3">
                        <div class="bh-ly-jj-wenbenyu1 bh-Border_1">
                       	 <?php echo CHtml::value($model, 'profile.send_group')?>
                    	</div>
                    	</td>
                      </tr>
                    </table>
                  	</div>
                  	</td>
                </tr>
                </table>
              </div>
              <div class="bh-space"></div>
              <div class="bh-space"></div>
            </div>
            
        </div>
    </div>
    <div class="bh-space"></div>
</div>